import request from '@/utils/request'

export function addOrUpdateGoods(goodsInfo) {
  return request({
    url: '/service/goods/info/addOrUpdateGoods',
    method: 'post',
    data: goodsInfo
  })

}
export function getGoodsInfo(goodsId){
  return request({
    url: '/service/goods/info/getGoodsOne/'+goodsId,
    method: 'get',
  })
}
